<tem>

<!-- 详情 -->
<div class="template detail-info" id="detail_template">
	<div class="panel-body no-tb-padder">
		<form class="bs-example form-horizontal xs-form xs-form-mb5">
			<div class="form-group">
				<label class="col-lg-4 control-label">策略名称：</label>
				<label class="col-lg-8 control-label tl" data-id="tacticName"></label>
			</div>
			<div class="form-group">
				<label class="col-lg-4 control-label">策略状态：</label>
				<label class="col-lg-8 control-label tl" data-id="tacticStatusName"></label>
			</div>
			<div class="form-group">
				<label class="col-lg-4 control-label" style="padding-left: 0">日志发生源设备类型：</label>
				<label class="col-lg-8 control-label tl" data-id="deviceTypeName"></label>
			</div>
			<div class="form-group">
				<label class="col-lg-4 control-label">样本名称：</label>
				<label class="col-lg-8 control-label tl" data-id="sampleName"></label>
			</div>
			<div class="form-group">
				<label class="col-lg-4 control-label">关键字(字典表)：</label>
				<label class="col-lg-8 control-label tl" data-id="keywordDictName"></label>
			</div>
			<div class="form-group">
				<label class="col-lg-4 control-label">关键字(自定义)：</label>
				<label class="col-lg-8 control-label tl" data-id="keywordName"></label>
			</div>
			<div class="form-group">
				<label class="col-lg-4 control-label">生成的事件名称：</label>
				<label class="col-lg-8 control-label tl" data-id="eventTypeName"></label>
			</div>
			<div class="form-group">
				<label class="col-lg-4 control-label">创建人：</label>
				<label class="col-lg-8 control-label tl" data-id="createUser"></label>
			</div>
			<div class="form-group">
				<label class="col-lg-4 control-label">创建时间：</label>
				<label class="col-lg-8 control-label tl" data-id="createTime"></label>
			</div>
			<div class="form-group">
				<label class="col-lg-4 control-label">最后修改人：</label>
				<label class="col-lg-8 control-label tl" data-id="updateUser"></label>
			</div>
			<div class="form-group">
				<label class="col-lg-4 control-label">最后修改时间：</label>
				<label class="col-lg-8 control-label tl" data-id="updateTime"></label>
			</div>
			<div class="form-group">
				<label class="col-lg-4 control-label">策略描述：</label>
				<label class="col-lg-8 control-label tl" data-id="tacticDesc"></label>
			</div>
		</form>
	</div>
</div>

<!-- 编辑 -->
<div class="template" id="edit_template">
	<div class="panel-body no-tb-padder">
		<form class="bs-example form-horizontal xs-form">
			<div class="form-group">
				<label class="col-lg-4 control-label">策略名称</label>
				<div class="col-lg-6 tl">
					<input type="text" class="form-control input-sm" data-id="tacticName"
		        	validate="required ,stringLimit">
		        </div>
		    </div>
		    <div class="form-group">
				<label class="col-lg-4 control-label">策略状态</label>
				<div class="col-lg-6">
					<select class="form-control input-sm" data-type="select" data-id="tacticStatus" validate="required"> 
						<option value="1">启用</option>
						<option value="0">停用</option>
					</select>
		        </div>
		    </div>
		    <div class="form-group">
				<label class="col-lg-4 control-label">日志发生源设备类型</label>
				<div class="col-lg-6">
			        <select class="form-control input-sm" data-type="select" data-id="deviceType" validate="required">
					</select>
		        </div>
		    </div>
		    <div class="form-group">
				<label class="col-lg-4 control-label">样本名称</label>
				<div class="col-lg-6">
			        <select class="form-control input-sm" data-type="select" data-id="sampleId">
					</select>
		        </div>
		    </div>
		    <div class="form-group">
				<label class="col-lg-4 control-label">关键字来源</label>
				<div class="radio">
			        <label class="i-checks" style="margin-left: 15px">
					    <input type="radio" value="1" name="keywordForm" data-id="keywordForm" checked><i></i>字典表
					</label>
					<label class="i-checks" style="margin-left: 20px">
					    <input type="radio" value="0" name="keywordForm"><i></i>自定义
					</label>
		        </div>
		    </div>
		    <div class="form-group">
				<label class="col-lg-4 control-label">关键字(字典表)</label>
				<div class="col-lg-6">
			        <select class="form-control input-sm" data-type="select" data-id="keywordDict">
					</select>
		        </div>
		    </div>
		    <div class="form-group">
				<label class="col-lg-4 control-label">关键字(自定义)</label>
				<div class="col-lg-6 tl">
					<input type="text" class="form-control input-sm" data-id="keywordDiy" disabled>
		        </div>
		    </div>
		    <div class="form-group">
				<label class="col-lg-4 control-label">生成的事件名称</label>
				<div class="col-lg-6">
			        <select class="form-control input-sm" data-type="select" data-id="eventType" validate="required">
					</select>
		        </div>
		    </div>
		    <div class="form-group">
				<label class="col-lg-4 control-label">策略描述</label>
				<div class="col-lg-8 tl">
					<textarea class="form-control input-sm" data-id="tacticDesc"></textarea>
				</div>
		    </div>
		</form>
	</div>
</div>

</tem>